/**
 * 
 */
package md.utm.university.model;


/**
 * Datele despre o persoana
 * 
 * @author asevciuc
 * 
 */
public abstract class AbstractPerson {
	private String name;
	private String surname;
	private int yearOfBearth;

	public AbstractPerson(String name, String surname, int yearOfBearth) {
		super();
		this.name = name;
		this.surname = surname;
		this.yearOfBearth = yearOfBearth;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSurname() {
		return surname;
	}

	public void setSurname(String surname) {
		this.surname = surname;
	}

	public int getYearOfBearth() {
		return yearOfBearth;
	}

	public void setYearOfBearth(int yearOfBearth) {
		this.yearOfBearth = yearOfBearth;
	}

	public abstract boolean isStudent();

}
